<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
   Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
   Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Using the Method Profiling Page" />
<meta name="abstract" content="The Method Profiling page contains information about sampled stack traces." />
<meta name="description" content="The Method Profiling page contains information about sampled stack traces." />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="GUID-343C6885-3367-4DDE-9BE5-1A7421CE00A1" />
<meta name="DC.Language" content="en-US" />

<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>Using the Method Profiling Page</title>

<meta name="doctitle" content="Using the Method Profiling Page&#xA;" />
<meta name="robots" content="noarchive" />
<link rel="copyright" href="http://oss.oracle.com/licenses/upl" title="Copyright" type="text/html" />

<link rel="contents" href="toc.htm" title="Contents" type="text/html" />
<link rel="prev" href="GUID-492BB17D-5964-48C3-9212-D4848514437A.htm" title="Previous" type="text/html" />
<link rel="next" href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm" title="Next" type="text/html" />
</head>
<body>
<div class="zz-skip-header"><a href="#BEGIN">Go to primary content</a></div>
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" /><col width="*" /><tr valign="bottom">
<td></td>


<td align="center">
<a href="GUID-492BB17D-5964-48C3-9212-D4848514437A.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm">
<img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
</td>
<td> </td>


</tr>
</table><div class="ind"><a id="GUID-343C6885-3367-4DDE-9BE5-1A7421CE00A1" name="GUID-343C6885-3367-4DDE-9BE5-1A7421CE00A1"></a><!-- End Header -->
<h1 id="JMCOH-GUID-343C6885-3367-4DDE-9BE5-1A7421CE00A1" class="sect1">Using the Method Profiling Page</h1>
<div><p>The <span class="bold">Method Profiling</span> page contains information about sampled stack traces.</p>
<p>This page displays method profiling information in tables.</p>
<div class="section"><div class="p">The method profiler does not require threads to be at safe points in order for stack traces to be sampled. However, since the most common case is that stacks will only be walked at safe points, the Java HotSpot Virtual Machine normally does not provide metadata for non-safe point parts of the code. This means that such samples will not be properly resolved to the correct line number and BCI unless you specify:<pre class="oac_no_warn" dir="ltr">-XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints</pre>
</div>
<p>With <code>DebugNonSafepoints</code>, the compiler will additionally generate the necessary metadata for the parts of the code not at safe points.</p>
</div>
<!-- class="section" -->
<div class="section"><p class="subhead1">Using the Method Profiling Page: Selections and Aspects</p><p>Use the drop-down menus at the top of the page to choose a selection and aspect if desired. Data from other pages can be saved to the selection drop-down menu by dragging an area of a chart (or selecting data from a table) and choosing <span class="bold">Store Selection</span> or <span class="bold">Store Selection and Set As Focused Selection</span> from the context menu.</p>
<div class="p">The following controls provide additional behavior:<ul style="list-style-type: disc;"><li><p><span class="bold">Show concurrent</span>: Show all events concurrent to the selected aspect.</p>
</li>
<li><p><span class="bold">Contained</span>: Only show events that are fully contained in the time range from the active selection aspect</p>
</li>
<li><p><span class="bold">Same threads</span>: Only show events in threads related to the active selection aspect.</p>
</li>
</ul>
</div>
</div>
<!-- class="section" -->
<div class="section"><p class="subhead1">Using the Method Profiling Page: Tables</p><p>Table columns are labeled as follows:</p>
<div class="p"><ul style="list-style-type: disc;"><li><p><span class="bold">Top Package</span>: The fully qualified package name.</p>
</li>
<li><p><span class="bold">Top Class</span>: The fully qualified class name.</p>
</li>
<li><p><span class="bold">Count</span>: The number of times that methods were sampled.</p>
</li>
</ul>
</div>
</div>
<!-- class="section" -->
</div>
</div><!-- class="ind" --><!-- Start Footer -->
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" /><col width="*" /><tr valign="bottom">
<td><a href="http://oss.oracle.com/licenses/upl"><br />
<span class="copyrightlogo">Copyright&#160;&#169;&#160;2018, Oracle&#160;and/or&#160;its&#160;affiliates.&#160;All&#160;rights&#160;reserved.</span></a></td>


<td align="center">
<a href="GUID-492BB17D-5964-48C3-9212-D4848514437A.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm">
<img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
</td>
<td> </td>


</tr>
</table>

<!-- class="footer" -->
</body>
</html>